package com.huixuebao.settle.service.impl;

import com.huixuebao.settle.entity.FileEntity;
import com.huixuebao.settle.mapper.FileMapper;
import com.huixuebao.settle.service.FileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class FileServiceImpl implements FileService {

    @Autowired
    private FileMapper fileMapper;
    @Override
    public void addFile(FileEntity file){

        fileMapper.insert(file);
    }
}
